package com.quanquan.store.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 功能描述:活动报名记录
 *
 * @ClassName: ActivityApply
 * @Author: xiaoqianh丶
 * @Date: 2019-06-27 13:39
 * @Version: V1.0
 */
@Data
@Entity
@Table(name = "oo_activity_apply")
public class ActivityApply  implements Serializable {


    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;

    @Column(name = "activity_id", length = 64)
    private String activityId;

    @Column(name = "user_id", length = 64)
    private String userId;

    /**
     * 活动创建时间
     */
    @Column(name = "create_time", nullable = false, length = 32)
    private String createTime;

    /**
     * 是否删除 0 不删除 1 删除
     */
    @Column(name = "remove", columnDefinition = "INT default 0", nullable = false)
    private Integer remove;
}
